package com.example.myapplication.util


import com.example.myapplication.bean.LoginRequest
import com.example.myapplication.bean.LoginResponse
import retrofit2.http.Body
import retrofit2.http.POST


interface ApiService {
    // 1. 登录接口
    @POST("login")
    suspend fun login(
        @Body body: LoginRequest
    ): LoginResponse
}